package org.dromara.Nyt7InsuranceCategory.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 产品分类对象 nyt_7_insurance_category
 *
 * @author Lion Li
 * @date 2024-12-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("nyt_7_insurance_category")
public class Nyt7InsuranceCategory extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "category_id",type = IdType.AUTO)
    private Long categoryId;

    /**
     * 产品分类
     */
    private String categoryName;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @TableLogic
    private String delFlag;

    /**
     * 上一级产品
     */
    private Long parentId;


}
